To: <
users@h=
ttpd.apache.org>
Subject: Re: [users@httpd] Re: Runaway Apache Process
r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Here is a screen shot of top. Â The server is currently running just fi=
ne.
Load average is good a low. Â The other two commands produced too much<=
br>
information for a screen shot so I piped them to a test file and attached
r>
them. Â Thanks for your help!!
--
Dan
http://www.moonli=
ghtrpg.com
http://=
www.linkedin.com/in/danbunyard
http://www.danodema=
no.com
http://www.dans=
randomness.com
http://www.danan=
dshelley.com
This is not a problem that requires infinite wisdom, Benj. This is a proble=
m
that requires enough neural organization to qualify as a vertebrate,
apparently a stretch for some folks these days.
~Cecil Adams.
On Thu, Jan 28, 2010 at 16:16, Daniel Reinhardt <
odan@cryptodan.net" target=3D"_blank">cryptodan@cryptodan.net>wrote:=
r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
--------------------------------------------------
From: "Dan Bunyard" <
arget=3D"_blank">danodemano@gmail.com>
Sent: 28 January, 2010 19:28
To: <
users@h=
ttpd.apache.org>
Subject: Re: [users@httpd] Re: Runaway Apache Process
 @Peter
r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Is there database access during this? I'm not sure, a few people mentio=
ned
checking this the next time it happened, so I will check
-What external dependencies are there (if any)?
 - Databases? There are some LOCAL database calls to MySQL running o=
n
the same server, that it all
 - External Calls?
-Do you have high timeouts on anything? Â Not sure what you mean hear, =
when
this happens pages take a VERY long time to load, if at all
-Is it just very inefficient code? Â Not likely, the same code has been=
used
on other machines withouh any problem.
At this point (in my experience), if you do not see a clear indication of
r>
the issue in the apache logs, it's not apache. Â I have enabled for=
ensic
logging to help trace the problem the next time it happens.
@Daniel Reinhardt
I don't really think that CPU is the issue. Â As others have mentio=
ned the
hits are very low and I simply host a few blogs, some dev sites, and other<=
br>
misc things. Â I once ran an very popular game site (getting upwards of=
1
million hits a month with a database back end) on a low-end Athlon XP
processor with 768MB of RAM and it ran fine. Â It was Win 2000 running<=
br>
Xampp.
I am running 64Bit Fedora currently but I don't believe that RAM is the=
issue either.
I will be sure to block that IP address.
@Nicholas Sherlock
That is correct, I don't run anything very impressive at all, with the<=
br>
exception of a few domains, most of them don't even really have much if=
anything on them. Â The server handles mail also (though I just put mai=
l on
it a week or two ago, after the first time this happened) but it just
forwarding them all to external addresses.
@Justin Pasher
I agree, I have run MUCH higher traffic on a much lower end machine. Â =
I
truly do not believe the system spec to be the problem as the first time
>
this happened there was only 2 web site on the box.
@Eric Covener
I completely agree, this does not seem to be from a lack of resources.
Thanks,
--
Dan
http://www.moonli=
ghtrpg.com
http://=
www.linkedin.com/in/danbunyard
http://www.danodema=
no.com
http://www.dans=
randomness.com
http://www.danan=
dshelley.com
This is not a problem that requires infinite wisdom, Benj. This is a
problem
that requires enough neural organization to qualify as a vertebrate,
apparently a stretch for some folks these days.
~Cecil Adams.
On Thu, Jan 28, 2010 at 12:18, <
rget=3D"_blank">PMilanese@nypl.org> wrote:
r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
>
> >
> > Obviously not in this case as this person wouldn't ne here
>
complaining
about
> > apache and its processes. Â The issue here is the CPU is too =
weak even
if it
> > is a 2.4Ghz processor. Â The E2220 isn't suitable for a s=
erver
processor.
> > Â Its strictly for home computing. Â I help remote admini=
strate a
server
that
> > supports 10 Domains and 5 E-Mail Servers that receive a whole lot=
more
> > traffic on a P3 933Mhz and these issues are not occurring there, =
and
the
> > settings for Apache are default.
>
> Having lots of processes hanging around doesn't imply high CPU usa=
ge
> or insufficient horsepower.
>
Is there database access during this? High load is not indicative of the
>
CPU working hard. High load, in this case, is due to the CPU not getting
>
answers back fast enough, and processes queueing up (eventually shutting
>
down apache). It will consume all available threads (connections), then
start killing the box.
-What external dependencies are there (if any)?
  - Databases?
  - External Calls?
-Do you have high timeouts on anything?
-Is it just very inefficient code?
At this point (in my experience), if you do not see a clear indication of
r>
the issue in the apache logs, it's not apache.
Peter J. Milanese
> --
> Eric Covener
>
covener@gmail.c=
om
>
> ------------------------------------------------------------ ---------<=
br>
> The official User-To-User support forum of the Apache HTTP Server
Project.
> See <URL:
=3D"_blank">http://httpd.apache.org/userslist.html> for more info.
r>
> To unsubscribe, e-mail:
he.org" target=3D"_blank">users-unsubscribe@httpd.apache.org
> Â Â " Â from the digest:
gest-unsubscribe@httpd.apache.org" target=3D"_blank">users-digest-unsubscri=
be@httpd.apache.org
> For additional commands, e-mail:
ache.org" target=3D"_blank">users-help@httpd.apache.org
>
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:
lank">http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail:
g" target=3D"_blank">users-unsubscribe@httpd.apache.org
 "  from the digest:
ribe@httpd.apache.org" target=3D"_blank">users-digest-unsubscribe@httpd.apa=
che.org
For additional commands, e-mail:
org" target=3D"_blank">users-help@httpd.apache.org
Dan,
Can you do a top and do a screenshot, and post the results here. Â Can =
you
also post a copy of netstat -anp as well as ps auxww. Â This will give =
us a
better idea of what is going on with your system.
Thanks,
Daniel
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.<=
br>
See <URL:
lank">http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail:
g" target=3D"_blank">users-unsubscribe@httpd.apache.org
 "  from the digest:
ribe@httpd.apache.org" target=3D"_blank">users-digest-unsubscribe@httpd.apa=
che.org
For additional commands, e-mail:
org" target=3D"_blank">users-help@httpd.apache.org
r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.<=
br>
See <URL:
lank">http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail:
g" target=3D"_blank">users-unsubscribe@httpd.apache.org
 "  from the digest:
cribe@httpd.apache.org" target=3D"_blank">users-digest-unsubscribe@httpd.ap=
ache.org
For additional commands, e-mail:
org" target=3D"_blank">users-help@httpd.apache.org
Dan,